<!DOCTYPE>
<html>
<head>
  <meta charset="UTF-8">
  <title>首页</title>
</head>
<body>
<?php foreach ($res as $item) {?>
<div>姓名：<?php echo $item[1]?></div>
<div>密码：<?php echo $item[2]?></div>
<?php }?>
</body>
</html>